package edu.umb.cs.antmanager.common;

import java.rmi.Remote;
import java.rmi.RemoteException;
import com.healthmarketscience.rmiio.RemoteInputStream;

/**
 * Manager's remote interface for agent to call back.
 * 
 * @author 2009CS682-3UMB_AntManager
 * 
 */
public interface ManagerInterface extends Remote {

	/**
	 * For agent to send back test result
	 * 
	 * @param log
	 *            RemoteInputStream of the log
	 * @param agentStatus
	 *            <tt>MachineStatus</tt> of agent
	 * @throws RemoteException
	 */
	public void addTestLog(RemoteInputStream log, MachineStatus agentStatus)
			throws RemoteException;
}
